import React from "react";
import ReactDOM from "react-dom/client";
import "./index.css";
// 引入根组件
import App from "./App";

// 渲染根组件App到id为root的dom节点上
const root = ReactDOM.createRoot(document.getElementById("root"));
root.render(
  /*   
  // 严格模式
  <React.StrictMode>
  </React.StrictMode> 
  */
  <App />
);
